package router

import (
	"Learn/base"
	"Learn/controllers"
)

func SetRouterApi() {

	action := controllers.BaseController{}

	baseRouter := base.App.Party("/base")

	baseRouter.Get("/get", action.Get)
	baseRouter.Post("/add", action.Add)
}
